
Kit description: Contact tool setting for Fanuc & Meldas controls

Kit number: 	A-4012-0584

Media number: 	A-4012-0583

File number: 	F-4012-0584

Doc number:		H-2000-6525 (EN) Programming manual
				H-2000-6535 (FR) Programming manual
				H-2000-6536 (DE) Programming manual
				H-2000-6537 (IT) Programming manual
				H-2000-6551 (RU) Programming manual
				H-2000-6591 (ES) Programming manual
				H-2000-6631 (NL) Programming manual
				H-2000-6725 (ZH) Programming manual
				H-2000-6744 (CS) Programming manual
				H-2000-6888 (JA) Programming manual
				H-2000-6974 (PT) Programming manual
				H-2000-6001 (EN) Backward Compatible Cycle Input Programming manual
				H-2000-6045 (FR) Backward Compatible Cycle Input Programming manual
				H-2000-6050 (DE) Backward Compatible Cycle Input Programming manual
				H-2000-6054 (IT) Backward Compatible Cycle Input Programming manual
				H-2000-6056 (RU) Backward Compatible Cycle Input Programming manual
				H-2000-6057 (ES) Backward Compatible Cycle Input Programming manual
				H-2000-6058 (NL) Backward Compatible Cycle Input Programming manual
				H-2000-6059 (ZH) Backward Compatible Cycle Input Programming manual
				H-2000-6065 (CS) Backward Compatible Cycle Input Programming manual
				H-2000-6067 (JA) Backward Compatible Cycle Input Programming manual
				H-2000-6069 (PT) Backward Compatible Cycle Input Programming manual
				H-2000-6826 (EN) GoProbe programming manual

The following programming guides are not at the current level of the English manual and will be updated to
the latest version as they are approved:
		French
		Spanish
		German
		Italian
		Dutch
		Czech
		Portuguese
		Russian
		Japanese
		Chinese
++++++++++++++++++++++++++++++++++++++++++++

First issue date: 1992
Latest update date: July 2022

++++++++++++++++++++++++++++++++++++++++++++

Warnings and known issues

For many years Fanuc have advised us to use G53 to prevent readahead, but this appears to have been superseded by
G4.1 on the FANUC Series 30i/31i/32i-MODEL B Plus, FANUC Series 0i-MODEL F Plus. 

It appears however, that on the PLUS control G4.1 cannot be used if AI contour control (AICC) is active, a strange
alarm is issued ILL. COMMAND IN TOLERANCE CON. In this situation AICC can be disabled using G5.1Q0 but some parameters
can affect this, refer to the Application SharePoint page (CNC controller help/Fanuc) or contact the macro software team
if you require more information.  


At version AH the cycle inputs below were changed to enable extra functionality. However, this created
an issue with pre-existing customers who didn't want to change their programs.

The software (AM onwards) now allows the user to choose between current standard cycle inputs or
backward-compatible cycle inputs. Backward-compatible inputs cover previous versions
of the contact tool setting software up to version AG (2020). 

If 'current standard' cycle inputs are selected (#143=0, O9760), programming information must be taken from H-2000-6525.
If 'backward-compatible' cycle inputs are selected (#143=1, O9760), programming information must be taken from H-2000-6001.
The following is a list of functions that are unavailable when using backward-compatible cycle inputs.

 - Off centre long tool / short tool approach method (#141 = 2, see settings information for details).
 - Accurate calibration of the underside of the stylus for higher accuracy when measuring the upper edge of a tool (O9857 B4).
 - Measure / check / control tolerancing options.
 - Separate length and radius tolerancing option.
 - Reporter functionality.

Compatibility selection should be carefully considered when used in conjunction with Renishaw GUI products.

If using Set and Inspect up to version 4.0, cycle input compatibility must be set to
backward-compatible. For versions 4.0 to 4.1, 'current standard' must be used.

For version 4.2 or later, both packages must be set to the same compatibility but either
can be used.

If using Fanuc GoProbe iHMI or GoProbe GUI (for Mitsubishi M80/M800S), backward-compatible
cycle inputs must be used.

The GoProbe Smartphone app is unaffected by these changes and can be used with all
versions of this kit.

Input changes:
O9856:	Uu to Ee
	Vv to Ff
O9856:	Dd to Rr
	Ee to Dd
	Jj to Ii
	Kk to Jj
O9857:	Dd to Rr
	Ee to Dd
	Hh to Ee/Hh
	Jj to Ii
	Kk to Jj
	Yy to Kk
O9858:	Dd to Rr
O9859:	Dd to Rr

The software Installation Wizard continues to accept inch or metric values, however all setting data in macro O9750
and calibration data (#5xx) are stored in metric, irrespective of the machine units. During measurement the above values are
converted automatically ensuring inch customers receive the same levels of performance.

Parameter P6000.3 (V15) is known to switch the wear and geometry variables for the tool offsets. If the parameter cannot
be changed then edits must be made in O9750 to change the offset base numbers.

It’s been reported that our software packages sometimes miss-position in the spindle axis because they are influenced by the following
parameter.

Pm3409.7 not resetting the F or H commands
In O9751 there is a line where G43 (#30) is used to activate the
tool offset without the tool moving:
G#30 G31 H#20 Z#116 F[100*#129]
If you find the tool is trying to move on this line, it’s possible
parameter 3409.7=1. This happens as the F & H codes are not reset
when the machine is in a stopped or reset condition. This makes the
tool offset active before our cycles are run causing the G43 call to
move when it should stay in its current position. If this happens
place a H0 at the top of the cycle canceling the tool offset before
the cycle is run.

In GoProbe cycles with contact tool setting, no F input can be used.
The F input for first touch feedrate in the GoProbe manual can only
be used with the PRIMO suit of software. The F input is set to vacant
at the start of the GoProbe cycle to prevent its use.

++++++++++++++++++++++++++++++++++++++++++++

Change Log (History)

-----------------------------------------------------------------
Revision - AU
Date: July 2022
Engineer: DP
O9858 cycle updated to fix issue with incorrect alarm being called when a tool is completely broken.
O9856 & O9857 Wear offset no longer updated when tool is out of tolerance.
Wizard option added for installation engineer notes.
Wizard updated to correct an output issue with some European regional keyboard settings.
Wizard updated to allow % symbol removal when using Meldas options.
Reporter Part ID variable removed.
Manual update for reporter and radial experience value description.
German, French and Italian error languages added.

-----------------------------------------------------------------
Revision - AT
Date: April 2022
Engineer: SP
Option to change G53 'Read-ahead control' code added to wizard following feedback that
using G4.1 in place of G53 has proven to be effective on Fanuc 3xi-MODEL B Plus or 0i-MODEL F Plus controls.

-----------------------------------------------------------------
Revision - AR
Date: Mar 2022
Engineer: DP
Positioning fix when using XY inputs in calibration.
Czech language manuals added

-----------------------------------------------------------------
Revision - AP
Date: Feb 2022
Engineer: DP
Reporter and Off-center long tool/short tool options removed from the wizard when selecting backward compatible inputs.
Setting duplication removal from setting macro (O9750).
Multiple language manuals added.

-----------------------------------------------------------------
Revision - AN
Date: Nov 2021
Engineer: SB
Reporter macro O9773 edited to include correct line endings for wizard macro generation.
German language manuals added.
Japanese language manual added.
Russian language manual added.
Wizard regional correction.

-----------------------------------------------------------------
Revision - AM
Date: Sept 2021
Engineer: DP/SB
Reporter functionality changed in O9857. See Reporter app manual for Fanuc (H-5999-8700) on how to generate code for Reporter app use
Backward compatible cycle inputs option added, new functionality and Reporter app is not available when this option is selected.
New wizard created.
New backward compatible cycle input manual added.
User start and end program numbers changed to O9890 and O9891 respectively to avoid potential clash.
Code added to improve tool offset updating and tolerance checking for type A and type 1 tool offsets.

-----------------------------------------------------------------
Revision - AL
Date: May 2021
Engineer: SB + DP
Correction to the application of tolerance checking when using diameter tool offsets O9856 and O9857
Spindle direction multiplier application duplication removed from O9856
Alteration to the function of the F input in cycle O9858
Correction to M200 in O9921
Redundant code removal from O9750
Correction to cycle O9770 so the correct data is sent to Reporter app if tool data is in radial mode
Due to customer feedback, the Wizard has been changed for when the Meldas controllers option is selected,
to allow the user to choose to delete the output file extension.
eg. O9857.PRG can be output as O9857.
Visual display of #123 variable altered to match other packages.

-----------------------------------------------------------------
Revision - AK
Date: Jan 2021
Engineer: DP
B3.2 option added to O9857 B3. : on-center length measurement of large tools, typically ball nose.
A and V inputs added automatic GoProbe cycles.
B4. option retract movement adjusted.
English manuals updated, translations to be added in time.
Amended Wizard, resolved an issue where the report macro was not output.
New warning about parameter Pm3409.7 added to Warnings and known issues section.
Installation wizard cycle input warning added.

-----------------------------------------------------------------
Revision - AJ
Date: Oct 2020
Engineer: DP
Wizard updated to include G31 options.
Wizard updated to include probe on dwell option.
Wizard updated to resolve issue with N number missing O9750.

-----------------------------------------------------------------
Revision - AH
Date: Sept 2020
Engineer: DP
Complete rewrite of all macros.
Off center long tool/short tool option added.
Inputs aligned with NCTS.
Separate length and diameter tolerance inputs E and H added.
Calibration with T shaped tool added for measure up calibration.
Measure, Check, Control functionality added.
Multi probe options changed to support up to four sets of calibration data/orientations.
User start and End Cycles added (O9850 and O9851).
Archive folder added containing AG version.
Reporter option added. Requires Reporter app connected to machine (Requires Reporter - A-5999-4300 v3.0 or later)
Reporter App
-----------------------------
This requires the Reporter app to be connected to the machine, part number A-5999-4300. 
Consult document H-5999-8710 for information on this product and how to use the Reporter feature.
A brief description and example on how to program is detailed below:

Start and end of reporting
--------------------------
The Data Send macro call is required to enable Reporter and prepare for measured data. The line should be written as shown below. 
If the Program ID variable (#156) has been changed from the default value, use the new variable number.
G65 P9735 A1. B1. C0. I#156
After the measuring of tools is complete, the Data Send macro must be run again.
G65 P9735 A1. B2. C0. I#156

Reporter Protocol variable and Reporter Data variable
-----------------------------------------------------
The Protocol variable and Data variable are set in two places – the installation wizard for tool setting, and the configuration settings for Reporter.
Protocol variable
----------------
This is used to specify the type of data being received. The default value is 157.
If you change the default value, you will also need to change the related variable in the Reporter app settings menu. For further information, refer to the Reporter for Mazak installation and user guide (Renishaw part no. H-5999-8710).
Data variable
-------------
This is the machine variable used to specify the base number for a range of 29 sequential machine variables required to hold data.
For example, enter the value 158 to use machine variable range #158 to #186 (#158 + 28 variables).
If you change the default value, you will also need to change the related variable in the Reporter app settings menu. For further information, refer to the Reporter for Mazak installation and user guide (Renishaw part no. H-5999-8710).
NOTE: If these values are changed from their default value, ensure that no other applications or G-code programs use these variables.

V input for measured feature macros
-----------------------------------
The V input acts as the tool ID number. The tool number that is being measured must be added to the tool setting macro line.
NOTE: A suffix of “.1” must be added to the V inputs to output measurement results to Reporter.

Example: Tool length/radius setting with reporting
--------------------------------------------------
Assume the tool is a 10 mm (0.394 in) diameter slot drill.
O2000
T1
M6
#156=2000 (Program ID set to 2000)
G65 P9735 A1. B1. C0. I#156 (Report start using #156.)
G65 P9862 B3. D21. R10. V1.1 (Set the tool length offset (1) and radius offset (21). Report on tool 1.)
G65 P9735 A1. B2. C0. I#156 (Report end using #156.)
M30


-----------------------------------------------------------------
Revision - AG
Date: Nov 2018
Engineer: HW

Additional check added to O9851 for length offset =0 when off-centre 
Check for R input greater than max tool diameter added to O9857
Program number variable introduced (#119) to O9855-O9859 
Japanese Manual added 
Minor wizard edits


Issue raised to AF
Date: Sept 2015
GoProbe tool setting cycle O9921 added and option added to the wizard.
Wizard setting of #112 adjusted and extra warning of parameter 6019.4 added.
Y input in O9857 adjusted to match programming manual.
Multi-axis issue resolved in O9752.
Parameter P6000.3 (V15) warning added to readme.

-----------------------------------------------------------------

Issue raised to AE
Date: February 2015
Calibration cycle modified so only the top and one side face is measured,
all subsequent measurement cycles will only use these faces.
New input added to the installation wizard to reflect this change. 
This new option not currently described in programming guide, to follow later.

Settings for #104 single sided below, #103 automatically set to 0 when selected.
#104 = -100 (Tool approaches from the X positive direction) 
#104 = +100 (Tool approaches from the X negative direction)
#104 = -200 (Tool approaches from the Y positive direction)
#104 = +200 (Tool approaches from the Y negative direction)
Use +1,-1, 2 and -2 for standard Five face.

Install Wizard amended for Meldas type 2 tool offsets
Air blasted option added to installation wizard.
Parameter 6019.4 option added to installation wizard.
Automatic lenght measure, complusory Y input removed.

-----------------------------------------------------------------

Issue raised to AD
* Amendment to second probe calibration storage variable in O9750
* Install Wizard option added for more than 200 tool offsets  
Date: January 2015

-----------------------------------------------------------------

Issue raised to AC
Install Wizard modified for European Windows setting.
Date: October 2014

-----------------------------------------------------------------

Issue raised to AB
Calibration data is stored as metric values irrespective of machine units.
Minor issues in O9755, O9856, O9857 and O9858 addressed.
O9856 B3 cycle inputs same as O9857 B3.
Date: October 2014

-----------------------------------------------------------------
Issue raised to AA
07/08/14
*#149 replaced with #107 (Alarm flag)
*New Wizard template 1.5.6 used
*Meldas compatiblity added via wizard
*Program structure changed
*Program 9755 added for dia
*Dia setting added to manual cycle O9856
*Inch\Metric conversion changed, settings now all in Metric
-----------------------------------------------------------------
Issue raised to OY
21/01/13
*Feed rate modified in 4 places to incorporate inch feed rate F[2000*#129] was F2000
*Reset #21 input before loop now #21=0
------------------------------------------------
Changes for A-4012-0584-0X 17/01/12
Optional 'B' and 'F' inputs changed to 'U' and 'V'

https://renishawplc.sharepoint.com/teams/MPD/Apps/Lists/EFI%20Application%20List/DispForm.aspx?ID=1&ContentTypeId=0x0100E2FDADBED1A2924D9939EAD46D01557E
-------------------------------------------------------------------------------------------
END OF FILE
-------------------------------------------------------------------------------------------
